home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / sed / sed113st.zoo / ChangeLog next >
Encoding:
Text File  |  1992-11-20  |  9.1 KB  |  277 lines

  1. Wed Nov 18 02:10:58 1992  Tom Lord  (lord@unix2.andrew.cmu.edu)
  2.  
  3.     * sed.c (execute_program): Made s///p print even if -n was
  4.     specified.
  5.  
  6.     * sed.c (compile_string): Changed the type of this function to
  7.     fix a compile warning.
  8.  
  9. Wed Nov  4 17:15:34 1992  Tom Lord  (lord@unix7.andrew.cmu.edu)
  10.  
  11.     * sed.c (main): Initialize the hold area to contain "\n"
  12.     instead of "".  In execute_program, all lines are expected
  13.     to be newline terminated.  Also, if H is the first command
  14.     in the script, the result is a pattern buffer that begins
  15.     with a blank line.  Thanks to pinard@iro.umontreal.ca
  16.     (Francois Pinard) for pointing out this and many other bugs.
  17.  
  18.     * sed.c (execute_program): Fixed a case of `D' command.
  19.       Thanks Chris Weber <weber@bucknell.edu>
  20.  
  21.     * sed.c: added new tests of no_default_output to make -n work.
  22.       Thanks Andrew Herbert <andrew@werple.apana.org.au>
  23.  
  24.     * sed.c, configure.in,Makefile.in: autoconfed bcopy and const.
  25.       Thanks "J.T. Conklin" <jtc@gain.com>
  26.  
  27.     * sed.c: made prog_cur, prog_start, and prog_end unsigned so
  28.     that users could write  `sed -e s/¯/foo/g'.
  29.  
  30. Tue Oct 13 00:04:05 1992  Tom Lord  (lord@unix3.andrew.cmu.edu)
  31.  
  32.     * sed.c (execute_program): fixed the cycling behavior of 'D'
  33.  
  34.     * sed.c: integrated patch that closes files
  35.  
  36.     * sed.c: changed regexp syntax
  37.  
  38. Fri May 22 15:11:12 1992  Tom Lord  (lord at moriarty.bh.andrew.cmu.edu)
  39.  
  40.     * regex.c:  this is not my change, but a pointer to the fact
  41.     that karl@gnu fixed some regexp bugs that were plaguing sed.
  42.  
  43. Thu Apr 30 13:02:21 1992  Tom Lord  (lord at unix3.andrew.cmu.edu)
  44.  
  45.     * sed.c (compile_program, execute_program)
  46.     subprograms are now compiled with an explicit continuation ;)
  47.     return_v and return_i in struct vector.  execute_program
  48.     no longer recurses to execute subprograms (case '{') and now
  49.     understands a return instruction (case '{').
  50.  
  51. Tue Apr 28 17:13:04 1992  Tom Lord  (lord at unix7.andrew.cmu.edu)
  52.  
  53.     * sed.c (compile_address) added \?regexp? syntax for addresses.
  54.  
  55.     * sed.c (main) added {} intervals to the obscure regexp
  56.       syntax.
  57.  
  58.     * sed.c (compile_program)  after calling compile_address,
  59.       normalize numeric addresses (make a2.addr_number > a1.addr_number).
  60.       This is necessary because line numbers must match exactly, 
  61.       but sed does not try to match a2 until after a1 has matched,
  62.       yet a1,a2 where a2 <= a1 is defined to be equivelent to
  63.       a1,a1+1
  64.  
  65. Sat Feb 29 10:55:54 1992  David J. MacKenzie  (djm@nutrimat)
  66.  
  67.     * sed.c (usage): Document long options as starting with `--'.
  68.  
  69. Mon Dec  9 23:56:40 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  70.  
  71.     * sed.c: Include sys/types.h, for new regex.h.
  72.  
  73. Tue Nov  5 02:16:01 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  74.  
  75.     * utils.c: Change NO_VFPRINTF to VPRINTF_MISSING, for
  76.     compatibility with autoconf.
  77.  
  78. Mon Sep  2 22:02:40 1991  David J. MacKenzie  (djm at apple-gunkies)
  79.  
  80.     * sed.c (compile_regex): Treat \ as a normal character when in
  81.     a char class.
  82.  
  83. Thu Aug  8 00:15:33 1991  David J. MacKenzie  (djm at bleen)
  84.  
  85.     * Version 1.08.
  86.  
  87.     * sed.c (compile_filename): If reading a file fails, read
  88.     /dev/null instead.  It's what Unix and POSIX do, effectively.
  89.  
  90.     * sed.c (compile_regex): The 'slash' character doesn't
  91.     terminate the regex if it's in a character class.
  92.  
  93.     * sed.c (main): If given no args, or bad option, print usage
  94.     message.
  95.     (usage): New function.
  96.  
  97.     * sed.c (execute_program): Amount written for 'P' command was
  98.     wrong.  From stephend@ksr.com (Stephen Davis).
  99.  
  100. Wed Aug  7 16:51:14 1991  David J. MacKenzie  (djm at apple-gunkies)
  101.  
  102.     * sed.c (append_pattern_space): Check for buffer full before
  103.     instead of after writing to buffer.  Don't need to test for
  104.     EOF initially anymore, due to the next change.
  105.     (execute_program): For 'n' and 'N' commands, if eof is reached
  106.     in input, quit the script like Unix sed does.
  107.     Fix memory allocation problems for 'a' and 'r' commands.
  108.     (compile_program): Fix off by one error in processing comments.
  109.     All of the above are from Tapani Tarvainen, tarvaine@tukki.jyu.fi.
  110.  
  111.     * sed.c (setup_jump): Use isblank instead of testing for ' '
  112.     or '\t', for POSIX locales.
  113.  
  114.     * utils.c (ck_strdup): Renamed from strdup.
  115.     * sed.c: Change callers.
  116.  
  117.     * sed.c, utils.c: Clean up declarations and includes to get
  118.     rid of compiler warnings.
  119.  
  120.     * sed.c (main): Add long-named options.  Don't complain if -n
  121.     is given twice.
  122.  
  123. Fri Aug  2 12:33:16 1991  David J. MacKenzie  (djm at apple-gunkies)
  124.  
  125.     * configure: Support +srcdir arg.  Create config.status and
  126.     remove it and Makefile if interrupted while creating them.
  127.     * Makefile.in: Change DESTDIR to prefix.
  128.  
  129. Mon Jul 15 13:07:39 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  130.  
  131.     * sed.c (main): Add -V option to print version number.
  132.     (USAGE): Mention -V.
  133.  
  134. Mon Jul  8 01:42:22 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  135.  
  136.     * sed.c: Define bcopy in terms of memcpy if STDC_HEADERS as
  137.     well as if USG.
  138.     (compile_filename): Don't glob filename (for 'r' and 'w'
  139.     commands).  Unix sed doesn't do it and it's not very useful,
  140.     since it can only match 0 or 1 files.
  141.     (execute_program): Change '\a' to 007 since some compilers
  142.     don't recognize \a.
  143.     * utils.c: New file; code moved from sed.c.
  144.     * Replace Makefile with Makefile.in and configure.
  145.     Update README.
  146.  
  147. Tue Mar 26 13:00:48 EST 1991    Jay Fenlason (hack@gnu.ai.mit.edu)
  148.  
  149.     * sed.c (match_address)  Added a trivial cast for portability.
  150.  
  151. Mon Feb 25 13:23:29 EST 1991    Jay Fenlason (hack@ai.mit.edu)
  152.  
  153.     * sed.c  Changed 's' command to work with latest version of regex()
  154.     routines, which mysteriously changed somewhere in there. . .
  155.     A one-line patch from David Eckelkamp (eckelkamp@mcc.com).
  156.  
  157.     Initialize the fastmap in the hopes that it'll make sed faster.
  158.  
  159. Thu Feb 21 13:42:27 EST 1991    Jay Fenlason (hack@ai.mti.edu)
  160.  
  161.     * sed.c Change panic to compile with other __STDC__ compilers.
  162.  
  163. Wed Jan 30 10:46:38 EST 1991    Jay Fenlason (hack@ai.mit.edu)
  164.  
  165.     * sed.c  Changed version number.  Made new release.
  166.  
  167. Tue Nov 27 15:34:51 EST 1990    Jay Fenlason (hack@ai.mit.edu)
  168.  
  169.     * sed.c (setup_jump)  Don't blow chunks if there isn't a label
  170.     after a b or t command.
  171.  
  172.         (main) Don't panic if it a branch command doesn't have
  173.     a label to branch to.
  174.  
  175.         (main)  Collect all the -e arguments together and parse them
  176.     all at once.  This way, -e { -e mumble -e } will work.
  177.  
  178.     All these small patches from David Schmidt (davids@isc-br.isc-br.com)
  179.  
  180. Tue Sep 11 12:51:37 EDT 1990    Jay Fenlason (hack@ai.mit.edu)
  181.  
  182.     * sed.c Changed some function forward declarations to use VOID *
  183.     instead of char *
  184.  
  185. Mon Jul 16 11:12:54 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
  186.  
  187.     * sed.c (ck_malloc)  Use malloc(1) instead of malloc(0) if given
  188.     a request for zero bytes.
  189.  
  190. Tue Jun  5 02:05:37 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  191.  
  192.     * sed.c: Remove excess newlines from calls to panic.
  193.     Reformat some comments to fit in 79 columns.
  194.     Base whether to use void * on __STDC__, not __GNU__.
  195.     (main): Add missing arg when printing usage message.
  196.     Print usage if given invalid arg.
  197.     (panic) [__STDC__]: Add missing ", ...".
  198.     (compile_filename): Print correct error message if glob_filename
  199.     returns NULL.
  200.  
  201. Thu Apr  5 21:41:12 1990  Jim Kingdon  (kingdon at pogo.ai.mit.edu)
  202.  
  203.     * sed.c (execute_program, case 'r'): When need to realloc append.text,
  204.     multiply append.alloc by 2 instead of adding
  205.     cur_cmd->x.cmd_txt.text_len.
  206.  
  207. Tue Mar  6 15:55:35 EST 1990 Jay Fenlason (hack@ai.mit.edu)
  208.  
  209.     * sed.c (compile_regex)  Allocate 10 bytes extra space needed by
  210.     re_compile_pattern.
  211.  
  212. Sun Feb 25 16:32:10 1990  Jim Kingdon  (kingdon at pogo.ai.mit.edu)
  213.  
  214.     * sed.c (execute_program, case 'l'): Print \00 instead of \0.
  215.     Print backslash as \\ not \.
  216.     Print \xx instead of /xx.
  217.  
  218. Thu Feb  1 14:02:28 EST 1990        hack@wookumz
  219.  
  220.     * sed.c (memchr)  Use () inside inner loop so it will work correctly.
  221.     A two character patch from Robert A Bruce (rab@allspice.berkeley.edu)
  222.  
  223. Wed Sep 27 18:47:39 EDT 1989        hack@ai.mit.edu
  224.  
  225.     * sed.c (compile_regex)  New function.  When compiling regex,
  226.     turn ^ into \` and $ into \' so that they won't match on embedded
  227.     newlines.  UN*X    pattern matching is a crock.
  228.     (compile_program, compile_address) call compile_regex.
  229.  
  230. Mon Sep 18 10:15:32 EDT 1989        hack@ai.mit.edu
  231.  
  232.     * sed.c (compile_program):  define translate as unsigned char * so
  233.     that y command will work on non-ascii characters.
  234.  
  235.     Changed version number to 1.06.
  236.  
  237. Thu Sep 14 15:57:08 EDT 1989        hack@ai.mit.edu
  238.  
  239.     * sed.c  (compile_program)  Let programs use ; to terminate } as
  240.     well as newline.
  241.  
  242.     (read_file) Print an error msg to stderr if it can't open an
  243.      input file.
  244.  
  245. Thu Mar 23 18:04:46 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
  246.  
  247.     * Makefile, sed.c: Added new copyright notice.
  248.  
  249.     * Makefile: Make distributions which follow the symlinks.
  250.  
  251. hack@ai.mit.edu
  252.  
  253.     1.05    Fixed error in 'r' (now does things in the right order)
  254.  
  255.     1.04    Fixed s/re/rep/[number]
  256.  
  257.     1.03    Fixes from Mike Haertel for regexps that match the
  258.         empty string, and for Ritchie stdio (non-sticky EOF)
  259.  
  260.     1.02    Fixed 't', 'b', ':' to trim leading spaces and tabs
  261.         Fixed \\ in replacement of 's' command
  262.         Added comments
  263.  
  264.     1.01    Added s/re/rep/[digits]
  265.         added #n as first line of script
  266.         added filename globbing
  267.         added 'l' command
  268.         All in the name of POSIX
  269.  
  270.     1.00    Began (thinking about) distributing this file
  271.  
  272. Local Variables:
  273. mode: indented-text
  274. left-margin: 8
  275. version-control: never
  276. End:
  277.